package mvc.form;

public class ZhuceForm   extends ActionForm  implements Comparable{
	public ZhuceForm (){
		
	}
	public ZhuceForm( String username,String password1,String password2){
		this.username = username;
		this.password1 = password1;
		this.password2 = password2;
	}
	private String username ="";
	private String password1 ="";
	private String password2 ="";
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword1() {
		return password1;
	}
	public void setPassword1(String password1) {
		this.password1 = password1;
	}
	public String getPassword2() {
		return password2;
	}
	public void setPassword2(String password2) {
		this.password2 = password2;
	}
	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}
	
	public String toSting(){
		return "username = "+ this.username+"||" + "password1 = "+this.password1+"||" + "password2 = "+this.password2;
	}
}
